package database.constraint;

import java.util.ArrayList;

public class CheckConstraint extends Constraint{
    ArrayList<String> att;
    
    String condition;
    
    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public CheckConstraint() {
        att = new ArrayList<String>();
        
        type = 4;
    }
    
    public ArrayList<String> getAttribute() {
        return att;
    }
}
